/**
 * 插件
 */

import koa from './koa.js'
import jwt from './jwt.js'
import koaStatic from './koaStatic.js'
import koaRouter from './koaRouter.js'
import koaBodyparser from './koaBodyparser.js'
import sequelize from './sequelize.js'

/**
 * 注册插件
 */
export default async (server) => {
    await koa(server);
    await jwt(server);
    await koaStatic(server);
    await koaBodyparser(server);
    await koaRouter(server);
    await sequelize(server);
}
